/***
 * formSize(String):表单大小 small mini large
 * type(String):表单类型 text | select | date | checkbox | radio
 * inputType(String):input类型
 * label(String):字段名称
 * labelWidth(String):字段宽度 150px
 * placeholder(String):默认显示
 * isReadOnly(Bollean):是否只读
 * isDisabled(Bollean):是否禁止
 * isRequired(Bollean):是否必填
 * optionList(Array):如果是下拉，复选，单选的数据源
 * keyName(String):有数据源的情况下，绑定的key字段名
 * valName(String):有数据源的情况下，绑定的label字段名
 * maxlength(Number):最大输入长度
 * colSpan(Number):占位符
 * isAppendRightBtn(Boolean):是否显示input右侧的按钮类型
 * appendRightBtnType(String):input右侧的按钮类型
 * appendRightBtnTxt(String):input右侧的按钮文字
 * bindFieldName(String):绑定后段字段名称
 * bindFieldVal(String):双向绑定绑定的具体值，一般用于readonly或者disabled的情况下直接赋值
 * buttonTxt(String):type为button时的按钮内容文字
 * influenceFiledName(String):二级联动所关联的select的后段字段->bindFieldName
 */

//项目基本信息
const Form1 = [{
    type: 'date',
    label: '起始时间',
    // inputType: "number",
    isRequired: true,
    bindFieldName: 'beginTime',
    bindFieldVal: ""
}, {
    type: 'date',
    label: '截止时间',
    // inputType: "number",
    isRequired: true,
    bindFieldName: 'endTime',
    bindFieldVal: ""
},
{
    type: 'select',
    label: '统计周期',
    placeholder: '请选择',
    isRequired: true,
    optionList: [
        {
            lable: '月',
            value: 1
        },
        {
            lable: '季度',
            value: 3
        },
        {
            lable: '年',
            value: 12
        }],
    keyName: 'value',
    valName: 'lable',
    bindFieldName: 'cycleMonth',
    bindFieldVal: ""
},]
const Form2 = [{
    type: 'select',
    label: '资产',
    placeholder: '请选择',
    isRequired: true,
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    bindFieldName: 'key3',
    bindFieldVal: ""
}, {
    type: 'select',
    label: '资产',
    placeholder: '请选择',
    isRequired: true,
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    bindFieldName: 'key2',
    bindFieldVal: ""
}, {
    type: 'select',
    label: '资产',
    placeholder: '请选择',
    isRequired: true,
    optionList: [],
    keyName: 'dictKey',
    valName: 'dictValue',
    bindFieldName: 'key1',
    bindFieldVal: ""
},]
const Form3 = [
    {
        type: 'select',
        label: '经营数据',
        placeholder: '请选择',
        isRequired: true,
        optionList: [],
        keyName: 'dictKey',
        valName: 'dictValue',
        bindFieldName: 'key1',
        bindFieldVal: ""
    },
    {
        type: 'select',
        label: '计划偏差',
        placeholder: '请选择',
        isRequired: true,
        optionList: [],
        keyName: 'dictKey',
        valName: 'dictValue',
        bindFieldName: 'key2',
        bindFieldVal: ""
    },
    {
        type: 'select',
        label: '运营指标',
        placeholder: '请选择',
        isRequired: true,
        optionList: [],
        keyName: 'dictKey',
        valName: 'dictValue',
        bindFieldName: 'key3',
        bindFieldVal: ""
    },
    {
        type: 'select',
        label: '其他运营数据',
        placeholder: '请选择',
        isRequired: true,
        optionList: [],
        keyName: 'dictKey',
        valName: 'dictValue',
        bindFieldName: 'key4',
        bindFieldVal: ""
    },

]



export {
    Form1,
    Form2,
    Form3
}